package com.kayo.specimen.model;

import java.io.Serializable;

public class RolePrivilege implements Serializable {
    private String id;
    private String roleId;
    private String privilegeId;
    private boolean isEnabled;

    public RolePrivilege(String roleId, String privilegeId, boolean isEnabled) {
        this.roleId = roleId;
        this.privilegeId = privilegeId;
        this.isEnabled = isEnabled;
    }

    public RolePrivilege() {
    }

    public RolePrivilege(String id, String roleId, String privilegeId, boolean isEnabled) {
        this.id = id;
        this.roleId = roleId;
        this.privilegeId = privilegeId;
        this.isEnabled = isEnabled;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getPrivilegeId() {
        return privilegeId;
    }

    public void setPrivilegeId(String privilegeId) {
        this.privilegeId = privilegeId;
    }

    public boolean isEnabled() {
        return isEnabled;
    }

    public void setEnabled(boolean enabled) {
        isEnabled = enabled;
    }
}
